Dreitier\Nadi\Vendor\Twig\Environment C

Total Complexity 108
Dependencies 36
Dependents 50
Total lines 838
Lines of code 352
Logical lines of code 171
Comment lines 262
Methods 63
Properties 19

Methods 63

Method Rating Maintainability Complexity Lines of code
loadTemplate()
A
49 9 29
resolveTemplate()
S
54 7 20
getRuntime()
S
59 5 14
setCache()
S
60 5 13
__construct()
S
49 3 31
createTemplate()
S
55 3 18
addGlobal()
S
63 4 10
getGlobals()
S
66 3 9
setCharset()
S
70 3 6
compileSource()
S
63 3 10
load()
S
64 3 10
getTemplateClass()
S
72 3 4
updateOptionsHash()
S
63 2 11
getCache()
S
80 2 3
isTemplateFresh()
S
78 2 3
parse()
S
70 2 6
tokenize()
S
70 2 6
compile()
S
70 2 6
resetGlobals()
S
77 1 4
getTest()
S
80 1 3
addNodeVisitor()
S
81 1 3
getNodeVisitors()
S
81 1 3
addFilter()
S
81 1 3
getFilter()
S
80 1 3
registerUndefinedFilterCallback()
S
81 1 3
getFilters()
S
81 1 3
addTest()
S
81 1 3
getTests()
S
81 1 3
addFunction()
S
81 1 3
mergeGlobals()
S
74 1 4
getFunction()
S
80 1 3
getTokenParser()
S
80 1 3
registerUndefinedFunctionCallback()
S
81 1 3
getBinaryOperators()
S
81 1 3
getFunctions()
S
81 1 3
getUnaryOperators()
S
81 1 3
disableDebug()
S
77 1 4
enableDebug()
S
77 1 4
registerUndefinedTokenParserCallback()
S
81 1 3
getExtensions()
S
81 1 3
getTokenParsers()
S
81 1 3
setLoader()
S
81 1 3
display()
S
80 1 3
isStrictVariables()
S
82 1 3
disableStrictVariables()
S
77 1 4
enableStrictVariables()
S
77 1 4
isAutoReload()
S
82 1 3
setLexer()
S
81 1 3
setParser()
S
81 1 3
setCompiler()
S
81 1 3
disableAutoReload()
S
81 1 3
getLoader()
S
82 1 3
addTokenParser()
S
81 1 3
enableAutoReload()
S
81 1 3
useYield()
S
82 1 3
hasExtension()
S
80 1 3
addRuntimeLoader()
S
80 1 3
getExtension()
S
80 1 3
isDebug()
S
82 1 3
addExtension()
S
77 1 4
setExtensions()
S
77 1 4
render()
S
80 1 3
getCharset()
S
82 1 3